package com.ydzh.kfqgwvisitor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 被访人信息表
 * </p>
 *
 * @author zcj
 * @since 2021-09-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "BeVisitorDTO对象", description = "被访人信息表 ")
public class BeVisitorDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "被访人姓名")
    @NotBlank(message = "被访人姓名不能为空")
    private String bevisitorName;

    @ApiModelProperty(value = "部门名称")
    @NotBlank(message = "部门名称不能为空")
    private String deptName;

    @ApiModelProperty(value = "被访人手机号")
    @NotBlank(message = "被访人手机号不能为空")
    private String phoneNo;


}
